package com.example.server.question;

import com.example.domain.question.dto.QuestionAddDTO;
import com.example.domain.question.dto.QuestionEditDTO;
import com.example.domain.question.dto.QuestionQueryDTO;
import com.example.domain.question.vo.QuestionDetailVO;
import com.example.domain.question.vo.QuestionVO;

import java.util.List;

public interface IQuestionServer {
    public List<QuestionVO> selectList(QuestionQueryDTO questionQueryDTO);

    int add(QuestionAddDTO questionAddDTO);

    QuestionDetailVO detail(Long questionId);

    int delete(Long questionId);

    int update(QuestionEditDTO questionEditDTO);

}
